﻿<%@ Page Title="My Spectrometers" Language="C#" MasterPageFile="~/IdeaNMR/IdeaNMR.master"
    AutoEventWireup="true" ViewStateEncryptionMode="Always"
    Inherits="IdeaNMR.Web.MySpectrometers" CodeBehind="MySpectrometers.aspx.cs" %>

<%@ MasterType TypeName="IdeaNMR.Web.IdeaNMR_Master" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit"
    TagPrefix="act" %>
<%@ Register Src="~/IdeaNMR/VersionList.ascx" TagPrefix="nmr"
    TagName="Versions" %>
<%@ Register Src="~/IdeaNMR/SpectrometersTable.ascx"
    TagPrefix="nmr" TagName="SpectrometersTable" %>
<%@ Import Namespace="IdeaNMR.Shared" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CphMaster"
    runat="Server">
    <asp:ScriptManagerProxy runat="server" />
    <div style="position: relative; margin-top: 5px;">
        <asp:UpdateProgress ID="UpdateProgress1" runat="server"
            DisplayAfter="300" AssociatedUpdatePanelID="upContent">
            <ProgressTemplate>
                <asp:Image ID="Image1" runat="server" ImageUrl="Images/WaitRefresh_Black.gif"
                    CssClass="UpdateProgress MySpectrometers" />
            </ProgressTemplate>
        </asp:UpdateProgress>
        <asp:UpdatePanel runat="server" ID="upContent">
            <ContentTemplate>
                <asp:Button ID="btAddSpectrometer" runat="server" Text="Add New Spectrometer"
                    OnClick="btAddSpectrometer_Click" CssClass="MySpectrometers AddNew BigButton" />
                <br />
                <nmr:SpectrometersTable runat="server" ID="SpecTable"
                    PageSize="20" Selectable="true" OnSelected="SpecTable_OnSelected" />
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
</asp:Content>
